package org.edu.modules.oa.vo;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data

//数据表名
@TableName("ve_oa_schedule")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class VeOaScheduleExcleVo {

    /**主键id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    @TableField(value = "Id")
    private Long id;


    //主题
    @Excel(name = "主题",width = 15)
    @ApiModelProperty(value = "主题")
    @TableField(value = "title")
    private String title;

    //事务类型
    @Excel(name = "类型",width = 15)
    @ApiModelProperty(value = "类型")
    @TableField(value = "title_type")
    private String titleType;

    //开始时间
    @Excel(name = "开始时间",width = 15)
    @ApiModelProperty(value = "开始时间")
    @TableField(value = "start_time")
    private String startTime;

    //结束时间
    @Excel(name = "结束时间",width = 15)
    @ApiModelProperty(value = "结束时间")
    @TableField(value = "end_time")
    private String endTime;

    //结束时间
    @Excel(name = "提醒时间",width = 15)
    @ApiModelProperty(value = "提醒时间")
    @TableField(value = "remind_time")
    private String remindTime;

    //详细内容
    @Excel(name = "详细内容",width = 15)
    @ApiModelProperty(value = "详细内容")
    @TableField(value = "content")
    private String content;

    //日程状态
    @Excel(name = "日程状态",width = 15)
    @ApiModelProperty(value = "日程状态")
    @TableField(value = "state")
    private String state;

    //创建人名字
    @Excel(name = "创建人名字",width = 15)
    @ApiModelProperty(value = "创建人名字")
    @TableField(value = "create_username")
    private String createUsername;

    //创建时间
    @Excel(name = "创建时间",width = 15)
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

}
